module URI #:nodoc:
  class Generic #:nodoc:
    def check_user_with_escaped_username(user)
      check_user_without_escaped_username(escape_userpass(user))
    end
    alias_method_chain :check_user, :escaped_username
  end
end
